package com.young.springdemo.config.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @program: springdemo
 * @description 自定义日志记录的注解
 * @author: Young
 * @create: 2020-05-28 15:15
 **/
@Target(ElementType.METHOD)//注解粒度
@Retention(RetentionPolicy.RUNTIME)//注解策略
public @interface LogInfo {

    //操作类型,增删改查 枚举LogOperateType
    LogOperateType operateType();



}
